package org.wangblue;

import org.wangblue.concrete_builder.ConcreteBuilder1;
import org.wangblue.concrete_builder.ConcreteBuilder2;
import org.wangblue.director.Director1;
import org.wangblue.director.Director2;

/**
 * @Description: 运行类
 * @Author: WangBlue
 * @Create: 2024-09-06 09:13
 * @Version: 1.0
 */
public class Main {
    public static void main(String[] args) {
        Director1 director1 = new Director1();
        Director2 director2 = new Director2();
        ConcreteBuilder1 concreteBuilder1 = new ConcreteBuilder1();
        ConcreteBuilder2 concreteBuilder2 = new ConcreteBuilder2();

        director1.construct(concreteBuilder1);
        System.out.println();
        director2.construct(concreteBuilder2);

    }
}